﻿@namespace foo url(http://www.example.com);
@namespace ack "http://www.contoso.com";

* {}
E {}
E[foo] {}
E[foo="bar"] {}
E[foo~="bar"] {}
E[foo^="bar"] {}
E[foo$="bar"] {}
E[foo*="bar"] {}
E[foo|="bar"] {}
E:root {}
E:nth-child(n) {}
E:nth-last-child(n) {}
E:nth-of-type(n) {}
E:nth-last-of-type(n) {}
E:first-child {}
E:last-child {}
E:first-of-type {}
E:last-of-type {}
E:only-child {}
E:only-of-type {}
E:empty {}
E:link {}
E:visited {}
E:active {}
E:hover {}
E:focus {}
E:target {}
E:lang(fr) {}
E:enabled {}
E:disabled {}
E:checked {}
E::first-line {}
E::first-letter {}
E::before {}
E::after {}
E.warning {}
E#myid {}
E:not(s) {}
E F {}
E > F {}
E + F {}
E ~ F {}

E.one.two {}
E:nth-of-type(2n) {float: left}
E:nth-of-type(2n+1) {float: right}
:nth-child( 3n + 1 ) {}
:nth-child( +3n - 2 ) {}
:nth-child( -n+ 6) {}
:nth-child( +6 ) {}

*:target { color : red }
*:target::before { content : url(target.png) }

foo|h1 { color: blue }  /* first rule */
foo|* { color: yellow } /* second rule */
|h1 { color: red }      /* ...*/
*|h1 { color: green }
h1 { color: green }
